package com.cy.com.cy.pj.exception;


/*
* 自定义业务异常-- 一般是继承 RuntimeException
* 通过自定义异常，对项目中的业务异常进行进行更好定位和分析
*/
public class ServiceException extends RuntimeException{
    public ServiceException() {
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    public ServiceException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
